using Kaxaml.Controls;
using System.Windows;

namespace Kaxaml.Plugins
{
    /// <summary>
    /// Interaction logic for Settings.xaml
    /// </summary>

    public partial class Settings : System.Windows.Controls.UserControl
    {
        #region Constructors?

        public Settings()
        {
            InitializeComponent();
        }

        #endregion Constructors?

        #region Private Methods?

        private void EditAgDefaultXaml(object sender, RoutedEventArgs e)
        {
            Kaxaml.Properties.Settings.Default.AgDefaultXaml = XamlEditorDialog.ShowModal(Kaxaml.Properties.Settings.Default.AgDefaultXaml, "Default Silverlight Xaml", Application.Current.MainWindow);
        }

        private void EditWPFDefaultXaml(object sender, RoutedEventArgs e)
        {
            Kaxaml.Properties.Settings.Default.WPFDefaultXaml = XamlEditorDialog.ShowModal(Kaxaml.Properties.Settings.Default.WPFDefaultXaml, "Default WPF Xaml", Application.Current.MainWindow);
        }

        #endregion Private Methods?
    }
}